package com.vondear.rxui.view.dialog;

import android.content.Context;
import android.text.method.LinkMovementMethod;
import android.text.method.ScrollingMovementMethod;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.vondear.rxtool.RxRegTool;
import com.vondear.rxtool.RxTextTool;
import com.vondear.rxui.R;

import java.util.HashMap;
import java.util.Map;


/**
 *
 * @date 2016/7/19
 * 确认 弹出框
 */
public class PayDialog extends RxDialog {

    public PayDialog(Context context, int themeResId) {
        super(context, themeResId);
        initView();
    }

    public PayDialog(Context context, boolean cancelable, OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
        initView();
    }

    public PayDialog(Context context) {
        super(context);
        initView();
    }

    public PayDialog(Context context, float alpha, int gravity) {
        super(context, alpha, gravity);
        initView();
    }

    public View getView(int resId){
        return findViewById(resId);
    }

    private void initView() {
        View dialogView = LayoutInflater.from(getContext()).inflate(R.layout.dialog_pay, null);
        setContentView(dialogView);
    }

}
